package com.thon.service.user;


import com.thon.dao.util.Page;
import com.thon.entity.user.FinanceView;
import com.thon.entity.user.FundDetail;

public interface FundDetailService {

	public void addFundDetail(FundDetail fundDetail);

	public Page<FundDetail> findFundDetailsByProject(Integer projectId,
			int pageNo, int pageSize);

	public Page<FundDetail> findFundDetailsByUser(Integer useId, Integer status,int pageNo,
			int pageSize);

	public Page<FundDetail> findFundDetailsByUser(Integer userId, int pageNo,
			int pageSize, Long days);
	
	public FundDetail getFundDetail(String tradeNo);
	
	public FundDetail getFundDetail(Integer userId);
	
	public void updateFundDetail(FundDetail fundDetail);
	
	Page<FundDetail> findFundDetails(int pageNo,int pageSize,int actionType);

	public Page<FinanceView> findFinace(int p, int s);
	
	public void saveFundDetail(FundDetail fundDetail);
}
